// Lib

SS.Lib = {}

// Include file

function SS.Lib.Include(Message)
	local File = Message:ReadString()
	
	include(File)
end

usermessage.Hook("SS.Lib.Include", SS.Lib.Include)

// Get team colour

function SS.Lib.GetTeamColor()
	local Side = SS.Client:Team()
	
	local Col = team.GetColor(Side)
	
	return Col
end

// Hidden GUI

function SS.Lib.HiddenGUI(Player, Type)
	return (Player:GetNetworkedInt("HideGUI: "..Type) == 1)
end